package com.woniuxy.lrz.carlproject.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author lrz
 * @since 2022-09-29
 */
@TableName("receive_address")
@ApiModel(value = "ReceiveAddress对象", description = "")
public class ReceiveAddress implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "receive_address_id", type = IdType.AUTO)
    private Integer receiveAddressId;

    @ApiModelProperty("关联用户id")
    private Integer userId;

    @ApiModelProperty("收件人姓名")
    private String receiveName;

    @ApiModelProperty("0-未选中  1-选中")
    private String isChoose;

    @ApiModelProperty("联系电话")
    private String receivePhone;

    @ApiModelProperty("省份")
    private String receiveProvince;

    @ApiModelProperty("城市")
    private String receiveCity;

    @ApiModelProperty("区/县")
    private String receiveDistrict;

    @ApiModelProperty("详细地址")
    private String addressDetail;

    public Integer getReceiveAddressId() {
        return receiveAddressId;
    }

    public void setReceiveAddressId(Integer receiveAddressId) {
        this.receiveAddressId = receiveAddressId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getReceiveName() {
        return receiveName;
    }

    public void setReceiveName(String receiveName) {
        this.receiveName = receiveName;
    }

    public String getIsChoose() {
        return isChoose;
    }

    public void setIsChoose(String isChoose) {
        this.isChoose = isChoose;
    }

    public String getReceivePhone() {
        return receivePhone;
    }

    public void setReceivePhone(String receivePhone) {
        this.receivePhone = receivePhone;
    }

    public String getReceiveProvince() {
        return receiveProvince;
    }

    public void setReceiveProvince(String receiveProvince) {
        this.receiveProvince = receiveProvince;
    }

    public String getReceiveCity() {
        return receiveCity;
    }

    public void setReceiveCity(String receiveCity) {
        this.receiveCity = receiveCity;
    }

    public String getReceiveDistrict() {
        return receiveDistrict;
    }

    public void setReceiveDistrict(String receiveDistrict) {
        this.receiveDistrict = receiveDistrict;
    }

    public String getAddressDetail() {
        return addressDetail;
    }

    public void setAddressDetail(String addressDetail) {
        this.addressDetail = addressDetail;
    }

    @Override
    public String toString() {
        return "ReceiveAddress{" +
        "receiveAddressId = " + receiveAddressId +
        ", userId = " + userId +
        ", receiveName = " + receiveName +
        ", isChoose = " + isChoose +
        ", receivePhone = " + receivePhone +
        ", receiveProvince = " + receiveProvince +
        ", receiveCity = " + receiveCity +
        ", receiveDistrict = " + receiveDistrict +
        ", addressDetail = " + addressDetail +
        "}";
    }
}
